<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="content-type" content="text/html;charset=utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1">
		<meta http-equiv="X-UA-Compatible" content="IE=9" />
		<meta name="renderer" content="webkit">
		<title>新增员工工资信息</title>
		<link rel="stylesheet" type="text/css" href="../../css/cm-default.css"  />
		<link rel="stylesheet" type="text/css" href="../../lib/ligerUI/skins/Aqua/css/ligerui-all.css" />
		<link rel="stylesheet" type="text/css" href="../../lib/select2/css/select2.css" />
		<link rel="stylesheet" type="text/css" href="../../lib/ligerUI/skins/ligerui-icons.css" />
		<link rel="stylesheet" type="text/css" href="../../lib/bootstrap//css/bootstrap.css"/>
		<link type="text/css" rel="stylesheet" href="../../css/public.css"  />
		<link type="text/css" rel="stylesheet" href="../../css/pub.css"  />
		<script src="../../lib/jquery/jquery-1.9.1.min.js" type="text/javascript"></script>
		<script src="../../lib/select2/js/select2.full.js" type="text/javascript"></script>
		<script src="../../lib/ligerUI/js/ligerui.all.js" type="text/javascript"></script>
		<script src="../../lib/My97DatePicker/WdatePicker.js"></script>
		<script src="../../lib/jquery-validation/jquery.validate.min.js" type="text/javascript"></script>
		<script src="../../lib/jquery-validation/jquery.metadata.js" type="text/javascript"></script>
		<script src="../../lib/jquery-validation/messages_cn.js" type="text/javascript"></script>
		<script src="../../js/common.js" type="text/javascript"></script> 
		<script type="text/javascript" src="../../lib/bootstrap/js/bootstrap.js" ></script>
		<script type="text/javascript" src="../../js/pub.js"></script>
		<script src="salary_insert.js" type="text/javascript"></script>
	</head>
	
	<body>
	    <div class="form_tab contextHeight">
			<div id="form_option" class="contextWidth form_option">
				<div class="contextWidth form_option_content">
					<button type="button" onclick="toSave()" class="form_Button btn btn-primary btn-xs">保存</button>
					<button type="button" onclick="toBack()" class="form_Button btn btn-primary btn-xs">返回</button>
					<button type="button" onclick="resetArea()" class="form_Button btn btn-primary btn-xs">清空</button>
				</div>
			</div>
			<div id="form_core" class="form_core">
				<div id="formContent" class="formContent">
					<div class="form_core_content">
						<div id="form_content">
							<form class="form-horizontal" name="basic-form" method="post" id="basic_form" data-validate="{}">
								<div class="form_hidden">
									<input type="hidden" id="salary_id" />
								</div>
                                
								<div class="form-group">
								<label for="userid" class="col-sm-1 control-label">工号</label>
									<div class="col-sm-3 col-sm-offset-1" class="input_left_line">
									  	<div style="position: relative;">
											<input name="userid" id="userid" readonly="readonly"
												class="form-control input-sm" /> <span id="help"
												class="input-sm help_icon" onclick="help_pop()"> <span
												class="glyphicon glyphicon-option-horizontal"></span>
											</span>
										</div>
										
									</div>
									<div class="col-sm-1"></div>
								    <label for="sal_date" class="col-sm-1 control-label">工资月份</label>
									<div class="col-sm-3 col-sm-offset-1" class="input_left_line">
										<input type="text" name="sal_date" id="sal_date" class="form-control input-sm Wdate" 
									    readonly="readonly" validate="{required:true,sal_date:true}" data-toggle="tooltip" data-placement="right" title=""
									   onclick="WdatePicker({dateFmt:'yyyyMM'})">
									</div>
								</div>
								
								<div class="form-group">
                                    <label for="company_id" class="col-sm-1 control-label">公司</label>
                                    <div class="col-sm-3 col-sm-offset-1">
                                    	<input type="text" name="company_id" id="company_id" 
											data-toggle="tooltip" data-placement="right" title="" class="form-control input-sm" readonly="readonly">
                                    </div>
                                    <div class="col-sm-1"></div>
                                    <label for="dept_id" class="col-sm-1 control-label">部门</label>
                                    <div class="col-sm-3 col-sm-offset-1">
                                    	<input type="text" name="dept_id" id="dept_id" 
											data-toggle="tooltip" data-placement="right" title="" class="form-control input-sm" readonly="readonly">
                                    </div>
                                </div>
								
								<div class="form-group">
								   
								    
								    <label for="baseSalary" class="col-sm-1 control-label">基本工资</label>
									<div class="col-sm-3 col-sm-offset-1">
											<input type="text" name="baseSalary" id="baseSalary" 
											data-toggle="tooltip" data-placement="right" title="" class="form-control input-sm">
									</div>
									<div class="col-sm-1"></div>
									<label for="extraSalary" class="col-sm-1 control-label">加班补贴</label>
								    <div class="col-sm-3 col-sm-offset-1">
								    <input type="text" name="extraSalary" id="extraSalary" class="form-control input-sm "/>
								    </div>
								</div>
								
								<div class="form-group">
								    <label for="absenceSalary" class="col-sm-1 control-label">缺勤扣款</label>
									<div class="col-sm-3 col-sm-offset-1">
											<input type="text" name="absenceSalary" id="absenceSalary" 
											data-toggle="tooltip" data-placement="right" title="" class="form-control input-sm">
									</div>
									<div class="col-sm-1"></div>
									<label for="insurancSalary" class="col-sm-1 control-label">五险一金扣款</label>
									<div class="col-sm-3 col-sm-offset-1">
										<input type="text" name="insurancSalary" id="insurancSalary" class="form-control input-sm "/>
									</div>
								</div>
								
								<div class="form-group">
								    <label for="attendanceDay" class="col-sm-1 control-label">考勤天数</label>
									<div class="col-sm-3 col-sm-offset-1">
											<input type="text" name="attendanceDay" id="attendanceDay" 
											data-toggle="tooltip" data-placement="right" title="" class="form-control input-sm">
									</div>
									<div class="col-sm-1"></div>
									<label for="attenAbnormalDay" class="col-sm-1 control-label">考勤异常天数</label>
									<div class="col-sm-3 col-sm-offset-1">
										<input type="text" name="attenAbnormalDay" id="attenAbnormalDay" class="form-control input-sm "/>
									</div>
								</div>
								
								<div class="form-group">
								    <label for="realSalary" class="col-sm-1 control-label">实发工资</label>
									<div class="col-sm-3 col-sm-offset-1">
										<input type="text" name="realSalary" id="realSalary" class="form-control input-sm "/>
									</div>
								    
								</div>
							</form>
						</div>
					</div>
				</div>
			</div>
			
			<div>
			<div id="pop_div">
				<div class="modal fade" id=addMx_Modal tabindex="-1"
					role="dialog" aria-labelledby="exampleModalLabel">
					<div class="modal-dialog" role="document">
						<div class="modal-content">
							<div class="modal-header">
								<button type="button" class="close" data-dismiss="modal"
									aria-label="Close">
									<span aria-hidden="true">&times;</span>
								</button>
								<h4 class="modal-title" id="exampleModalLabel">帮助:</h4>
							</div>
							<div class="modal-body">
								<div id="form_table"></div>
							</div>
							<div class="modal-footer">
								<button type="button" id="pop_add_button"
									class="btn btn-primary" data-dismiss="modal">添加</button>
								<button type="button" class="btn btn-default"
									data-dismiss="modal">取消</button>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	    </div>
	  </body>
</html>
